#!/usr/bin/env python
# coding=utf-8
# __author__ = 'Yunchao Ling'

import os

root_path = "/export/bigdata/literaturedata/pmc/pmc_pdf"

# for i in xrange(0,65536):
#     currentstr = "{0:0>4x}".format(i)
#     path = root_path + "/" + currentstr[:2] + "/" + currentstr[-2:] + "/*"
#     cmd = "find " + path + " -type d -exec rm -rf {} \;"
#     # os.system(cmd)
#     print cmd
os.system("find " + root_path + "/00/* -type d -exec rm -rf {} \;")
